package com.kyrioscraft.cloud.security.codevaliddemo;

import com.kyrioscraft.cloud.security.core.validate.code.image.ImageCode;
import com.kyrioscraft.cloud.security.core.validate.code.ValidateCodeGenerator;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.context.request.ServletWebRequest;

/**
 * @Author kyrioscraft
 * @Date 2018/12/26 10:25
 * @Description //TODO
 **/
@Slf4j
//@Component("imageCodeGenerator")
public class DemoImageCodeGenerator implements ValidateCodeGenerator {

    @Override
    public ImageCode generate(ServletWebRequest request) {
        log.info("更高级的图形验证码生成器代码");
        return null;
    }
}
